Updated sobel based on what I did with sobel1