Changed TS function

Chris used numpy.sum and was able to remove transmission and intensity functions.  This runs much much faster.