Direct limits, multiresolution analyses, and wavelets