Approximate Closest-Point Queries in High Dimensions