Synthesis of Optimal Nonlinear Feedback Laws for Dynamic Systems Using Neural Networks