Added a printCDParamsTable function and used it in the appendix. Cleaned up the appendix quite a bit. Added some further code cleanup.