Calculate ELO values before saving match