Fixing PPLNS target percentages

This should fix #529 with proportional payouts towards the calculated
PPLNS target are off.
Merge pull request #532 from TheSerapher/issue-529

Fixing PPLNS target percentages