Fixed AIOOBE in MakeCooccurrenceMatrix