Added clear() method to k-d tree