Added MinimumOfMeasurement and MaximumOfMeasurement.

These wrappers can keep track the maximum and minimum of a
measurement.