Fixed a major bug with the force calculation