added in a check for the case in rot_hpc when the start and end time are the same - no rotation done
some tidying up of times, and comments