[SciPy-Dev] stats.quad and integrate.quad changes to support expectation computations via integration of complex valued functions