Inserted commas and fixed typos where necessary

I noticed some typos as well as a few places which should have had commas. Nothing else was altered.