Removes extra edges
Added secondary error measure as comment. Changed top 10 cycles to top 5