Wavelet regression and additive models for irregularly spaced data