fixed bug in dbscan, updated docs