allow JXG.Coords objects as dataX for regressionPolynomial()