Makes the dependency to scipy optional