Bezier Cubic and Quadratic working