Complete implementation of maximal rank algorithm for semisimple algebras.