Adding class for splines C1. Adding intervals for splines.