fixed octave riccati wrapper