adding full wave dual rectifier class