Solved bug in ROC curve computation