Handle "scalar" dimensions for parameters.
Some parameters may (optionally) be stored with zero dimensions.  This is equivalent to the case when they're stored with one dimension of size one (a scalar).  To make things consistent, these parameters are now re-interpreted as having one dimension of size one.