get_rms_dist will return None if no matching lattice is found