Added doxygen to Vec and Mat.

Added some comments and use cases to doxygen for Vec and Mat (under "Detailed Description").