WiP: Self energy routine