Text this: Polynomial wavelet regression with boundary correction