Modified kernel to produce greyscale image