A method of compensating a measurement. The method includes determining a
zero-point, determining a rate of change of the zero-point, and
compensating the measurement based on the rate of change of the
zero-point and/or the zero-point. In one embodiment, the compensated
measurement is used to control a safety device in a vehicle.