Added changes so that ROC curves are only produced if there is at least one non-zero ROC curve.