public static Matrix random(int m,int n){
  Matrix a=new Matrix(m,n);
  for (int i=0; i < m; i++)   for (int j=0; j < n; j++)   a.values[i][j]=Math.random();
  return a;
}

public static Matrix random ( int m , int n ) { Matrix a = new Matrix ( m , n ) ; for ( int i = 0 ; i < m ; i ++ ) for ( int j = 0 ; j < n ; j ++ ) a . values [ i ] [ j ] = Math . random ( ) ; return a ; }
creates and return a randovalues . length m - by - n matrix with values between 0 and 1
