Sobel blur implementation