Changed imu orientation according to measurement