Control Methods For Electrical Machines