Cross Stitch Pattern Test

v20: added weighted Euclidean (redmean) as a selectable distance option