X-Midas Users Take Note:
miss_distance.txt is the corresponding X-Midas macro to do the same computation.