Added some new functions and fixed some bugs

1.Added Jaccard limit for fitting
2.Added density limit for fitting
3.Fixed bugs for coloring
3.Fixed bugs for computing Jaccard index