Orbital breathing effects in the computation of x-ray d-ion spectra in solids by ab initio wave-function-based methods. (21st November 2016)