Implemented the Convolutional compute function