Wrapper to ensure at compile time that correct number of values are used when specifying the values of a model's parameters and initial state.