YieldFor function

Compile the bond yield forecast for any model type