Computational method for nonlinear stochastic optimal control | Synapse