max drawdown python numpy