convert target tenor in a day
draft version ofor spline interpolation