New algorithms

Cosine Similarity
Jaccard Coefficient
some structure changes,
a little view fix.