Bayesian Inference in Wavelet-Based Models