implemented some simple logging to record potential mean time calculation errors.