The Algebra of Semimagic Matrices and its Length