cleanup
added ema dif calculation