ebc_TP function

Confusion measures.