Algebra of currents and the magnetic moments of hyperons