Implementing elasticity and friction on actors. Close #7