Added calculation and recording of every rank change after every match