Rename rms_dist to get_rms_dist.