replaced Numeric and numpy, and added an optional curves argument to Curve() init