A Bifurcation Analysis of Nonlinear Oscillations in Railway Vehicles