Improved lattice green function