Text this: Modeling and high performance control of electric machines