Text this: Integration of Accelerometers and Machine Learning with BIM for Railway Tight- and Wide-Gauge Detection