HOW DOES A SINE WAVE INVERTER WORK