A support function for linear.matrix. Ensures that a constant value is of the appropriate length.
linear.expand (n, x)
n
x
...