Atom | First-Principles Modeling of Electronic Structure and Near-Edge X-Ray Spectroscopy