create_comat function

Create co-occurrence matrix without explicit entity type constraints