A 3D simulation model of train dynamics for testing odometry algorithms