Changes
/* Ray Reflection & Transmission */
The reflection coefficients at the interface are calculated for the two parallel and perpendicular polarizations as:
:<math> R_{\|} = \frac { \eta_2(\mathbf{ \hat{k}'' ^{\prime\prime} \cdot \hat{n} }) - \eta_1(\mathbf{ \hat{k} \cdot \hat{n} }) } { \eta_2(\mathbf{ \hat{k}'' ^{\prime\prime} \cdot \hat{n} }) + \eta_1(\mathbf{ \hat{k} \cdot \hat{n} }) } = \frac{\eta_2 \cos\theta'' ^{\prime\prime} - \eta_1 \cos\theta} {\eta_2 \cos\theta'' ^{\prime\prime} + \eta_1 \cos\theta} = \frac{Z_{2\|} - Z_{1\|}} {Z_{2\|} + Z_{1\|}} </math>