Three kinds of cubic spline calculation CoffeeScript: natural, clamped and monotonic