added documentation to stochastic patch model