added filtering to imu