inverter design