Calculates changes in player or team ratings based on the outcome of a match using the Elo rating system.