Various spelling fixes. Code simplifications
Add intellj gitignore
remove unused function
Merge remote-tracking branch 'upstream/master'
Merge pull request #1 from jpoon/master

spelling and code cleanup