gl.collapse function

Collapses a distance matrix by amalgamating populations with pairwise fixed difference count less that a threshold