Added code to calculate the user avergae, sparse matrix and top-k items for each item vertex.