itemCosine() is working for inputs which don't have a 1:1 relationship between movie rating between each user