Added ability to create an ellipse as piecewise curves.