Modeled fixed income and derivative securities in C++