Zaslat SMS: Modeling and high performance control of electric machines