Scipy Integrate Trapezoid