Added an example for C++ interoperability, which, at the expense of a good night's sleep, works up to building the matrix.