A polynomial model for sensor data