Invariants of simple algebras