calcSelectionCriterion function

Calculate the selection criterion