Made the filter more flexible regarding the input files.
Changed the default output options.
Changed the routines for the new TCS generator.