Added a first version of the combination method for CMF and EMA.
Will probably need some additional testing and debugging.