On the Construction of Wavelets and Multiwavelets for General Dilation Matrices