This function is the splines basis function of order 1. This
function was coded in accordance to Carl de Boor's set of notes on
splines, "B(asic)-Spline Basics".
Usage
bX(x, knots, i)
Arguments
x
vector, the values at which to evaluate the basis
function.