Fixed typos and did minor changes

I fixed some typos in the documentation and added some missing words.