Fixed bug in fs.writeCsvLines. Added ROC and related measures to analytics.js.