Pātuhitia tēnei: The mathematical theory of finite element methods