Wavelets and multilevel approximation