CurveSet constructor now only supports numbers and arrays of arrays