https://medium.com/@monocosmo77/how-model-predictive-control-works-part1-artificial-intelligence-f99429556771