Update code documentation and Doxyfile. Can compile latex document.