finite nucleus for energy calculations

not optimal (but should not matter). Checked asymptotically, but eventually needs to be checked against some other software. TODO gradients, should be easy