special case of one row matrices for subsetting