Spline library, errors compiling example code

There is no function which takes double arrays - you have to use float arrays