public double Process(double input) { double trend = m_trend.Process(input); return(m_trend.AverageInput + (trend * m_horizon)); }