Dynamic Braking Control For Accurate Train Braking Distance Estimation Under Different Operating Conditions