Wiped the spline with derivatives and corrected a boundary comparision error by eliminating the check. This algorithm REQUIRES known first derivatives at the endpoints.