Creates a Curve Object containing pairs of Tenors with relevant rates and the interpolation function.
Also, methods for populating the object via a .csv file and the generation of the interpolation function via cubic splines are included.
Arguments
Tenors
The Tenors of the curve
Rates
The rates on the corresponding tenors
interp_function
(Optional) The interpolation function of the curve. Can be populated via the 'CalcInterpPoints' method