added a function to compute the transformation matrix from eulerian
angles
added explanatory comments to most of the functions
added a function to calculate the eulerian angles from the
transformation matrix