Python Convolution Program