Updating documentation

Added doxygen documentation to definitions file