Made some small improvements to the documentation

I made some small improvements to the documentation as I was working through the examples.