-Removed the on_fold and detect_caustic functions. Rolled these logical
statements into the new and improved on_edge logic.

on_edges: now computes whether a point is on an edge and which of its
neighbors is too. Upon determining which, it then checks to see if it meets
the caustic criteria and then adjusts the data appropriately.