Fixed spring energy calculation, a line of which was accidentally deleted on a previous commit. Spent hours hunting this down, so hopefully, the non-mpi and -np 1 versions are the same.