Added Code to stop the PWM from glitching when duty = 0

Added code to disable PORT when duty = 0. This will stop the 1 count
glitch that was occuring.