Added Cosine simliarity calc. for task 3a