Updated documentation with Markdown version, continued precalculus refactor
Merged Stacey's precalc bug fixes from precalculus-cleanup branch