Add an updated sobel kernel to keep track of direction. This resolves issue #4.