I originally tried that, but if there are distance matrix IDs that aren't in the data frame, `nan` is filled in. I guess I could check for the presence of `nan`s in the result and error out if there are any. Do you think that's a better approach than the current code?