Added functions to subdivide bezier curves.