Model::GetStateParameterIndex

Get the index of one of the parameters in the given state.