Neural Network Based Model Predictive Control