Permanent Magnet Electric Machinery Design Toolbox