extractMetric.caretList function

Extract accuracy metrics from a caretList object