High frequency pure sine wave inverter