implemented ElectronDensityMap class