Modeling and High Performance Control of Electric Machines