The Performance and Design of Alternating Current Machines