Wavelet matrix