check exprs(.) is a matrix