Fixed some spelling errors and typos.

I corrected some typographical errors in the main documentation.