Development and implementation of a FEM based wheel - rail contact model for multibody applications