result.py refactoring

- CSV import fixed in result.TimeSeries class
- Data generation script fixed.