fix reputation calculation
Merge pull request #4 from jamespeerless/master

fix reputation calculation