Added ewma calculating via database
Merge branch 'master' of https://github.com/dpjayasekara/VirtualOps into vishmi