Update Gyroscope filtering code