New yield curve implementation

The yield curve is now immutable