changed trajectory test so that it does not change the masses, but just the element