added the basic Bezier solver