Evaluate improper integrals with unbounded integrand (#572)