Electron Density Calculations for Crystals with a NaCl Lattice