Convolution In Matrices Python