Fix typo in down_threshold cpu
Partial revert of last commit because I overlooked some things
Merge pull request #4 from MiracleM4n/master

Fix last commit.
Merge branch 'master' of github.com:temasek/stweaks_temasek into temp