fix float division by zero bug in score calculation
Merge pull request #107 from pointhi/float_bug

fix float division by zero bug in score calculation