fast ROC calculation in R