Extended api value.set to use index in value setting.
Feature request: #3151, (https://gna.org/support/index.php?3151) - User function to set the R20 parameters in the default grid search using the minimum R2eff value.
The index used is expected to match the spectrometer frequency.