Model Predictive Control Of Electromagnetic Torque In Permanent Magnet Synchronous Machines