@Genii, this is not due to Nagato's Rinnegan mastery but due to him being an Uzumaki with strong life force and longevity. Though you are a Nagato fan, you shouldn't debate the fact that the one who possesses Rikudo Sennin's Chakra as the reincarnation of Indra with Ashura's Chakra mixed, surpasses an Uzumaki to whom the Rinnegan was implanted.
Knowledge is not the matter, where did Madara get the knowledge when he awoke the Rinnegan at his deathbed? Where did Sasuke have the knowledge of Kagutsuchi? Or Obito of Kamui? Those who master a Doujutsu, will learn all the techniques which their potential allows.
@GoodBoy,
You must be registered for see links
Madara is leagues above Nagato with the Rinnegan as he has Hogoromo's Chakra, Uzumaki are just from the Senju lineage.