journal_year_matrix --working version

also of: term_year_journal_matrix

removed sampling_state_nodisk: hopeless. moved sampling_state(), which
is hardly less useless, to a more logical place in the file.