Refactor elo and truskill computation

Less repeated code, less exceptions