Modified flopAtomarray.c