Symbolically raise square matrices to a symbolic power