update to sample_matrix.9-18-12.r