Model predictive control of nonlinear mechatronic systems: An application to a magnetically actuated mass spring damper