Added curve drawing to CurvePanel. Handled case of points.length < 2
in CubicInterpolator. Added recalculation of coefficients.