Added detectEdges function to lineMatching and commented out in ransacline.m