Distances and algorithms to compare sets of shapes for automated biological morphometrics