adds 2D and 3D Bezier curves (cubic, quadratic). Only 2D currently has unit tests