Cosine Similarity is now cached if a partition didn't change.
Initial testing seems to work and improve speed - more testing needed.