Added doxygen params and reformatted comments according to code standards.