Magnetic Field Analysis of Inset and Surface-Mounted Permanent-Magnet Synchronous Motors Using Schwarz–Christoffel Transformation