Modeliing of wheel and rail wear