The application of wave functions containing interelectron coordinates. II: The ground state energy of atoms