This significantly upgrades the Doxygen output, fixes Doxygen warnings, and adds latex equations to the curve headers