added estimation at stage N
added d ric mhe c & octave interfaces (buggy)