PS. If you're creating a coffee roasting plan designer, please implement a relaxed cubic spline solver in that. It doesn't come out of the box with whatever GUI toolkit you're using, but it's not hard and it will work so much better than what you were going to try instead.