added transmission and reflection coef. computations