private static Dictionary<IDimension, System.Decimal> filterInputs( Dictionary<IDimension, System.Decimal> allInputs, IDimension[] dimensionsToFilter )
 {
     return allInputs.Where(t => dimensionsToFilter.ToList<IDimension>().Contains(t.Key)).ToDictionary(p => p.Key, p => p.Value);
 }