Used the alglib to do single linkage clustering on point cloud. It works, but it sucks because you have to give the data as string...