moved jaccard calc to psql, where it should be