Contour analysis

Quick attempt to analyze slope between consecutive contours.