Curvature Effects on Permanent Magnet Harmonic Losses of Surface-Mounted Permanent Magnet Machines