HOW DOES A SINE INVERTER WORK