added support for 2D in vcgKDtree