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.
Merge pull request #702 from friedrichatgc/patch-1

Fixed crash of the octave interface