trying to calc kappa_smooth