added a low pass filter to the sensor readings for compass calculation