Calculate Reflection and Transmission Coefficients