A macroscopic model for plastic flow in metal-matrix composites