Added Measure class to keep track of measurements for each bin