Pātuhitia tēnei: Identification and control of mechanical systems