fixed bug in submatrix when column and/or row labels are not being used