Pātuhitia tēnei: Singularity theory and an introduction to catastrophe theory.