time-offset errors when checkpointing over long periods. Also moved base flow interpolation outside of loop.