switched cardinal splines to monotone