Add functions to return the spring length and velocity.