Pātuhitia tēnei: Theory and application of Mathieu functions