Create output_rnd_matrix.txt