Bezier curve algorithm added. The number of points of the curve is generic.