Adding the optimized haar wavelets via PCA.