Added an alternate version of the edges to upper triangular script. Uses numpy, not portable, will rewrite.