Design and Simulation of Rectifiers