Nonlinear predictive control with application to manipulator with flexible forearm | Synapse