Thrashing scenario ready

- Fixed printing out the TPS results to an external log file.
- Adding analysis results