Start on documentation, fixed a few silly typos and incorrect parameters.