PHP implementation of the glicko2 algorithm