Added flush command to output *_cal.dat files every timestep