this has *nothing* to do with hip-hop.  just some simple functions to wrap arrays of c-structs for passing back and forth to matlab