Contours: fixed bug in computation of vertical distance to closest contour
Cleaned up illuminated contours code
Corrected comments for slope computation