Implemented CurveCreateFromData()