General typo fixes.

fixing some typos on the document. trying to get a grasp of the whole idea whilst correcting some typing mistakes