Correcting some typos and adding more comments