Pātuhitia tēnei: Analytic geometry with an introduction to vectors and matrices