Stochastic Optimal Control In Nonlinear Systems