added disappearX and disappearY
added asserts to collapse
modified row boundary conditions in collapse
** seems to have fixed null pointers, but doesn't work
probably down a rabbit hole
Some null pointers fixed but collapse not working