Surfaces immersed in Lie algebras associated with elliptic integrals