Modifying elast pendulum contact model and modifying organization of methods that compute and get forces and moments