Added more stuff and fixed the sobel edge detection example.