Create getedges.m