Commit 13-4

Better upvoting algorithm