Added ability to change IMU reference orientation