mddfits and cooks.distance compatibility