implementation of AHRS and IMU versions