Fixed hourly update and made code more robust.
Merge branch 'master' of github.com:lfraker/GSDSim

Fixes the hourly update system, replacing the algorithm there with more robst code.