Parameter estimation from a model grid application to the Gaia RVS spectra