finish roc curve computation function