Corrected the way a new day was dealt with, and removed the un-used RA and Dec bits of code (we only look at the moving flag to tell where we are...)