convolve2 function for separable convolutions.