Athother way similar to imag self energy for tetrahedron method is implemented for Joint DOS, but it's not fast.