Sampled Data Model Predictive Control Algorithm