Motor Controller for Energy Efficient Vehicles