Implemented UU and UE cosine similarity without normalization