Track geometry defect rectification based on track deterioration modelling and derailment risk assessment | Synapse