I have been trying what you suggested but can't seem to get the transmissions to match, so I just have a follow up question to clarify something in case I'm making a simple mistake. In alfa=2*imag(neff)*k0, is imag(neff) the same as kappa from the link you provided and k0 = 2*pi(n+i*kappa)/λ_0?