Octave Interface: Corrected the returned dimensions of
riGetGridDimensions to follow specification.