added opportunity to generate matrix with diagonally dominant