so should I add this function to MatrixSymbol class itself?