Removing unnecessary importing of Inf from scipy.integrate