Fixed type mistake on trend analysis
Merge branch 'master' of https://github.com/hanlonal/CSE4982013