add bond yield matrix function