AdaptiveOnlineEstimationofPiecewisePolynomial Trends