Eul2Q:
--------------------------------------------------------------------------
Converts 3-2-1 Euler angles to a quaternion using the half angle
formulas.
Since version 1.
--------------------------------------------------------------------------
Form:
q = Eul2Q( e )
--------------------------------------------------------------------------
------
Inputs
------
e (3,:) Euler angles (rad)
-------
Outputs
-------
q (4,:) Equivalent quaternion
--------------------------------------------------------------------------