fixed typos in demo_wavelet_2d
updated T_to_J prototype in DSS Fig. 3