implemented ELO maths