fixed 5x5 sobel operator function