add PiecewisePolynomialFunction Class