changed electrostatics and added interp