renamed gaussian_radius to max_radius
sobel stuff