Bug fix in analyzeSGP for max.n test for coefficient matrix size