getDistMethods function

Get method names for distance