Grammatical and spelling cleanup

Fixed a few misspellings and consistency issues in README.md and documentation in two source files.