Complete collaborative filtering algorithm. Converged with a small example. Needs further testing.0