Wavelets and Framelets Within the Framework of Nonhomogeneous WaveletSystems