modifications to ClosedContours.m