Fixed typo.
Fixed math error.

Variance was given without sigma being squared.
Fixed section headings

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.