wave_front: removed caustic logic from the on_edges detector
Wave_queue: added a new logic to detect caustics seperate from edges