Scipy Integrating A Array Of Functions