cos_sim_sparse finished, tested.