Add a lot of debug statements
Only do calculations to correct wavefront if startmoment_hours is actually > 0