DISTANCE ESTIMATION SYSTEM AND METHOD FOR A RAILWAY VEHICLE