Calculating rate of change from gauge