#45: Refactoring of collaborative filtering prediction 
Calculating similarity refactored