The Effect of PWM on Rotor Eddy-Current Losses in High-Speed Permanent Magnet Machines