Unrevert "Cache the value of cell energy."

This reverts commit c2519287efb0af77bd9ba016cb043d84d5ef20bb.

Conflicts:
	src/lib/IsingGrid.cpp