Add new option to convert input contours into ones consisting of 2D circular arcs and 2D linear segments only. Update documentation