Stochastic optimization of regulators. (February 2017)