Fixed spring bug, closes #29.
Merge pull request #36 from Lisergishnu/spring_bug

Fixed spring bug, closes #29.