Added function to calculate the inverse of a quaternion.
Merge pull request #276 from daner/quaternioninverse

Added function to calculate the inverse of a quaternion.