Symplectic maps and computation of orbits in particle accelerators