XX_band: The matrix XTX where X is the design matrix. This argument is given in the form of a band matrix, i.e., successive columns represent superdiagonals.
Xy: The vector of currently estimated points XTy, where y is the y-coordinate of the data.
pen: Positive penalty constant.
w: Vector of weights. Has to be of length
diff: The order of the differences of the parameter. Equals degree + 1 in adaptive spline regression.