kernel for computing point energies