Matlab overlay of the c++ LRSpline class