Added function to collapse a single pixel at a time

Currently this function resides in the update loop. This will not be
the case later when I get more time to optimize