Implemented coherence shader, did some debugging