Wolff's Theorem on ideals for matrices