Added the functionality to calculate a gauge from saved measurements.