Revert "Try not recalculating Xi-Xj over and over again"

This reverts commit 749a37d6b5ab9817dc20a6d24a67cbc6a6821418.