Updated documentation, fixed minor typos