Applying Sobel operator to image (lab 5)