added force func to damped spring
added torque func to damped rotary spring