fixed several minor typos; added some comments
Merge pull request #10 from ctb/hw3-polavar3-comments

fixed several minor typos; added some comments