Added documentation
Minor edits