Added option to specify that the first measurement in the data set is not the first measurement of that day.