Remove some scipy dependency. We disable the perform method of the convolution when scipy is not available.