Fixed various typos, improved documtation