A fast and reliable algorithm for the estimation of railway wheel wear