Replaced computeForceVector with calculateAttract

This function uses dynamic force.