Added scipy version check