[math-fun] Matrix roots of polynomials