Numerical analysis of the Adomian method and its application to chaotic systems