add DWT matrix