A Neural Network Model Predictive Controller