added ema and sma and tests passing