Finding the centraliser algebra in Sage
Let $M_1,...,M_r$ be a finite list of $n \times n$-matrices over a field $K$. Is there a way, using Sage, to obtain the centralizer algebra (or at least its vector space dimension) of those matrices?
In GAP there is the command FullMatrixAlgebraCentralizer that does this, but I generate the large matrices over sage, so it would be better to have a way to do it in Sage directly.