An example of quaternion parameterization for dynamical simulation