2013
The AHRS Library (Attitude Heading Reference System) is a set of Max externals that allows you to perform a series of basic calculations for 3D/4D vectorial math used in aerodynamics.
If you are using a three axis accelerometer and a three-axis magnetometer check out the"ahrs_triad" object which enables you to find the orientation of your cluster of sensor with respect to the Earth fixed coordinates.