Added invert colors button and function
Removed getNeighborEdges function in favor of getMatrix