Partition mixture of 1D wavelets for multi-dimensional data