Add accelerometer and magnetometer reading