A New Active Zero State PWM Algorithm for Reducing the Number of Switchings