Doc changes

I redid the docs to be accurate and changed a few things (mainly variable names) for clarity.