Pātuhitia tēnei: Simulation: principles and methods