A toolkit for nonlinear model predictive control using gradient projection and code generation. (June 2015)