Stage i of debugging: pixel passing order doesnt really matter; made appropriate ordering in edgWrapper. changed edgedetection to simply output grayscale. Working on stage ii edit now