Created by: kuke
Bug fixes
Others
Fix the bug in EMA that would result wrong answer when calling apply() method continuously
apply()