Target State Optimization with Density Functional Theory for Computing K-Edge X-ray Absorption Spectra | Synapse