How can the function below be done without the numpy.vectorize function, which is a shorthand for loop, and become completely loop-less?
It uses a geometic brownian m