Optimized the calculations of wins/losses/points to use SQL
Adds updating of match results using a round table