Edit docs for formatting

There are some formatting issues on several doc pages.  This patch is for cleaning up formatting and (a few) grammar issues.

The various math pages have some pretty big problems, so that's not handled here.