Optimal control of nonlinear stochastic systems | Synapse