Improved Quaternion and added most documentation.