Amended ABC's get_dif R-function to use arbitrary number of traits.