Fix bug in computeForces that caused the image to infinitely grow