blocking and unrolling for fill_matrix
simplify distance to origin
fill_matrix new random generator