Fixed crash.
Fixed a bug in skysim_phy() where itsa is not correctly accumulated due to testing for wfs output in physical optics part.
Improving LQG.
Added configuration for twfs
fixed a few bugs