Added additional documentation and corrected some spelling