Added algorithms for cycle and ellipse