Calculate the Exponentially Weighted Moving Average (EWMA) of the values
higher values for lambda put more weight on recent values
Calculate the Exponentially Weighted Moving Average (EWMA) of the values