Wrote sparse documentation in all the headers, made Doxygen work.