adding .h files
modified octave code