Model Predictive Control Algorithms for Applications with millisecond timescales by