finished read.par.mat