Fixed miscellaneous documentation errors.

Fix for misnamed/duplicated parameters in the documentation blocks, and converted some non-doxygen comments into doxygen comments.