yet another fix to DynamicMatrix print