fixed documentation

I've made a few changes to the documentation.