Scipy Differential Equation Solver