changed to a more constant light schedule

rewrote the GetCurrentDutyCycle class