Fixed section headings, added math

Added section in math chapter for Bayesian statistics, and improved
on the discussion of system dynamics.

The PDF generator cannot deal with the markdown for section headings
(using hash marks), so I needed to fix chapters that use them.

Appendix B still uses them, but for now that is just a list of
notes for myself, so I left that alone.

This contains the new PDF generated from these changes.