Add some variables and fix up documentation

Some useful variables I added and some grammatical/formatting fixes in the documentation