It compiles and passes curren tests...might as well commit
Cleaned up imports
Remove printout of timetaken
Merge pull request #7 from lloydmeta/optimise/shorter_trend_generation

Optimise/shorter trend generation