Difference between a Rectifier and Voltage Regulator