moved dampedSpring out to its own file and finished implementing its functions