add metric
argument to allow for other linkages
#222
Merged
metric
argument to allow for other linkages
#222