code generation now supports matrix dimension expressions