Fixed SWIG octave wrappers and added octave port of example_sprinkler