Nonlinear model predictive control of functional electrical stimulation. (January 2017)