exsupp function

Correcting support sets and reshaping the matrix of derivatives at the knots.