Updated reset signal of duty cycle; simulation seems to work