Text this: Influence of Rail Line Gradient and Curve on Pantograph-Catenary Dynamic Performance