an introduction to splines