OctaveCodeGen: update docstring and clean up some code comments