Remove dependence of function "rng", since it is not present in octave
Rename option "group" to "grouped", since "group" is not a valid option name.