Text this: Torque Control of PMSM and Associated Harmonic Ripples