A New Methodology to Study the Pantograph-Catenary Dynamics in Curved Railway Tracks