Add Cosine Similiarty Algorithm