for( int numCols = 2; numCols < 10; numCols++ ) {
// construct a matrix with a null space by decomposition a random matrix
// and setting one of its singular values to zero
SimpleMatrix A = SimpleMatrix.wrap(RandomMatrices.createRandom(numRows,numCols,rand));
SingularValueDecomposition<DenseMatrix64F> svd = DecompositionFactory.svd(A.numRows(), A.numCols(),true,true,false);
assertTrue(svd.decompose(A.getMatrix()));
SimpleMatrix U = SimpleMatrix.wrap(svd.getU(null,false));
SimpleMatrix S = SimpleMatrix.wrap(svd.getW(null));
SimpleMatrix Vt = SimpleMatrix.wrap(svd.getV(null,true));