updated Doxygen documentation. fixed small errors