protected void createPrimary() throws Exception {
int n = Utilities.getInt(1, max);
int m = Utilities.getInt(1, max);
int b = Utilities.getInt(Math.min(bmax, m));
int[][] nz = Utilities.getRowPattern(n, m, b);
A = new CompRowMatrix(n, m, nz);
Ad = Utilities.rowPopulate(A, nz);
}