Mostly finishing C implementation of imaginary part of self energy