Density functional calculation of atomic structure with non-local exchange and correlation