Changed literally two lines to make non coulomb kernels work