BUG Make sobel() into a pure function

Previously, sobel() would normalize its input which was not only
undocumented, but completely unexpected as well.