GENERAL NONLINEAR MIXTURES OF CURVES