Fix in adding dot and ddot points in Polynomial Curve