Generated Doxygen documentation, fixed bugs