Torque Ripple and Noise Control in Permanent Magnet Synchronous Motor