Boundary functions for wavelets and their properties