Further modifications to sobel filter