Matlab inverter circuit simulation