BUG Fix sobel edge finding

Surprising how long this simple bug held