wrote double for loop convolve class
testing
forward works
backward is giving erros.