Rename ref_dist to ref_dist_pc to be more consistent