Added check for SciPy.