outsidewl becomes long
before outside_wl becomes thread safe
improved transmittance calc- not threadsafe now in pstc_i
add comment