The Nonlinear Dynamics of Rail Vehicles in Curve Entry and Negotiation