cleaner version of code for computing correlation
Merge branch 'master' of github.com:rchen152/CS181

pulling before pushing