Updated Edgeblur's edge detection. Cleaned up