worked on c interfaces & fixed octave interface