parametric curve changed xt,yt are  functions
bezier curve added