Learning Based Model Predictive Controller