https://medium.com/@monocosmo77/how-model-predictive-control-works-part2-artificial-intelligence-4f9373f8f333