PHP implementation of Vantage-point tree (VP-tree)