Creates a Bézier curve by its control points. Implemented with de Casteljau method.