Text this: HOPS: A Fast Algorithm for Segmenting Piecewise Polynomials of Arbitrary Orders