Minimal example for passing nmatrix data between C and ruby