Correct the error in the Sobel function
After convolving with filter, the intensity should be a absolute value.