I am trying to calculate the refractive index from the transmission data of Rb using Kramers-Kronig relations, however the integration just would not converge, I have tried code