added co-occurrence matrix generator