Model Predictive Torque Control with PWM using fast gradient method