WHAT DOES AN INVERTER DO IN AN AC MOTOR