Correct spelling and grammar errors

Corrected several typos, spelling errors, and grammatical errors.