computeCriteria function

Compute the values given the criteria and internal objects