cosineSimilarity

Calculates the Cosine Similarity between two FloatArray vectors.

Throws

if the sizes do not match.