Formulation of curved beam vibrations and its extended application to train-track spatial interactions