changed spring forces to consider free length