Typos and documentation

Fixed typos and documentation