On the Ewald summation of Gaussian charges for the simulation of metallic surfaces