fixed typos and grammar in the documentation

fixed some typos and grammar + minor improvements.