large re-factor to subclass the CosCurve in anticipation of adding a StisCurve and FuseCurve