Minor fixes in PolynomialCurve. Almost complete!