Quad integrate to infinity. A Python function or method to integrate.