Text this: Improved Nonlinear Model Predictive Control Based on Genetic Algorithm