normalize kx in the quadgk