add magnetometer to imu9 driver