Added changes to detectEdges.m