Adding cosine similarity views and some fixes to cosinesim controller
Remainder work needed to get Cosine Similarity working.