Changed random walk to stochastic