SPEED: Software for electric machine design and analysis