Update CalcTransmissivity.c