Implementation of more rigid validity for splineMatrix