Updated CalculationFunction to work with the new Observer API from HRSCCore