Added nearest neighbour search over vectors