Updated MeasurementHistory to constrain size and time of measurements so old measurements roll off charts.