Tom's modified cm_roc demo.