Create num_int_w.m

Matlab script for computing kappa in Eq. 7 and for numerically integrating Eq. 8.