Updated Sobel filter