#19 Fix for time rounding and statistics calculation