Add sobel edge detection for 45 and 135 degree edges, however, it's not
working as expected also often crashes which therefore is useless...