Understanding AC Machines