Fixed crash of the octave interface

octave_value::cell_value() returns a Cell object by value. Hence obj_i in line 185 is a reference to a temporary and crashes when accesses in line 187.