Convolution Using Python To Parse