Added in the processTimerMeasurements function and improved comments on code.