nagato has full mastery over his rinnegan so all of madara shitty ass ems techniques won't be shit but child's play for nagato, not only that but madara doesn't have anywhere near the experience with his rinnegan that nagato does, so a battle of rinnegan vs rinnegan is one-side nagato can't lose that, the thing that really gives madara this victory is the fact that he has access to wood release and he can use all that in unison with his rinnegan and ems but the most dangerous thing madara has is wood release