Poor implementation of single Sobel edges