Text this: Cost Function Optimization for Multi-phase Induction Machines Predictive Control