Added function to calculate average, minimum and maximum time between sensor readings. Actually depend on the speed of writing from arduino to SD