fix logic for pearson correlation
Merge branch 'master' of github.com:joannecheng/collective_intelligence_ruby