regulation of macromolecule metabolic process