Add the cosine similarity as a correlation algorithm