Absorbed the user function arg arg 'dim' into 'size'.
This is only used by one user function, structure.rotate, which has not been converted to the
auto-generation design yet. The size argument is perfectly suitable for specifying the matrix
dimensions.