Refined code to more accurately set p.tickCount in Earth calibration routine.
