Fixed some typos in the documentation

Corrected some typos throughout the document.