Added Doxygen to analysis.c