Added quadratic bezier curve with fixed bug from example