changed name to plotCurves, because R was assuming that plot.curves is S3 method.