atomic distances now generates the csv file.