A new approach to model predictive control based on two degrees of freedom control and B-splines input shaping