Add arbitrary test case for Atom solver.
Fix Doxygen equation errors for residual functions.
Add amsmath package for Doxygen compilation.