A new multilevel PWM method: a theoretical analysis