Refinement of as.splineMatrix