Flexible smoothing with B-splines and penalties | Synapse