I am trying to do a 1d convolution without using the in built np.convolve function. I have two arrays (X = input and k = kernel). I have tried something like the following c