Modeling and Simulation of PWM Switched Autotransformer for Voltage Sag Mitigation Using MATLAB