Updated Hermite spline to use scipy and numpy functions, mainly for speed.
Replaces the monotone cubic spline code with the scipy PChipInterpolator, which appears to be a more robust algorithm (fewer excursions from the control points). Retains Catmull-Rom capability and damping.
Still needs some testing on a real system.
Also fixes hc_substitution error in molgroups.py and molgroups.cc.
Updated Hermite spline to use scipy and numpy functions, mainly for speed.
Replaces the monotone cubic spline code with the scipy PChipInterpolator, which appears to be a more robust algorithm (fewer excursions from the control points). Retains Catmull-Rom capability and damping.
Still needs some testing on a real system.
Also fixes hc_substitution error in molgroups.py and molgroups.cc.