Finally have a working version of iterator assigning cosine similarity scores to each post. Now just need to implement this for the all threads.