Multilevel Toeplitz matrices and approximation by matrix algebras