fix travis.cfg
add construction of S-matrix; further tweaks
SDC almost working (maybe)