Added function to calculate the average of millis and the max and min value of millis in each block of data