Added Cosine Sim function

Not sure how accurate it is.. only returning the vectors that have the
same number of elements between the arrays compared.