Symmetry property and construction of wavelets with a general dilation matrix