The Projection Method for Multidimensional Framelet and Wavelet Analysis