Started to add a routine to keep track of week offset changes
Slightly altered the rollover detection
Added correction to week variables for times when the ms_of_week rollover occurs mid-file.