Added the architecture for sobel filter and also the convolution matrix is
now passed as param.