cosineSimilarity moved to PointVector class.