Direct torque and flux control