arguments: m:matrix gb:gbcomp >> int
If some column of the matrix 'm' does not reduce to zero w.r.t. gb, return the index of the first such column, otherwise return -1.