Quadratic bezier method implemented