Canny Edge Detector 1

+ optimizations of all kinds