An Effective Application of Schwarz-Christoffel Transformations to the Shape Design of Permanent-Magnet Motors