bugfix: anomaly detection for monitor.js

remove gauss.js, because it would change Array.prototype.
modify simple_statistics.js for define exports.
implement `ema` function in monitor.js.