stochastic section coompleteish

needs matle's implementation, proofreading