created NUM_CONTOURS constant; contour matrix will always have number of contour lines equal to NUM_CONTOURS