Changed to a more realistic way of calculating the travel length in FMag and make corrections
TrackExtrapolator now capable of calculating travel length inside beam dump