Fixed typos and spelling issues in documentation and code
Warning fixed