Basis-Function Trees for Approximation in High-Dimensional Spaces