Correcting error in populating td_stats scores vector leading to mislabeling of results (degree versus input score vector).