modified tmatrix.py so that location of executable is S.exe is automatically found