Fix various typos throughout documentation and code