Paul Labonne

Results 2 issues of Paul Labonne

should solve issue #9 added ncol=ncol(blocks) otherwise matrices with only one column (single factor) become vectors and the subsequent code produces an error when dim(blocks)[2] is called