Pātuhitia tēnei: The tangled origins of the Leibnizian calculus