Update and rename compute_kappa.m to num_int_w.m