used 1/r explicitly instead of potential matrix in energy test.