fix various typos in the documentation
Merge pull request #4928 from mscherer/fix_doc

fix various typos in the documentation