ROC function added, but not fully tested