adds rand_pnos function, working on rand_tf_idf_comb and cited_tf_idf_comb