Pātuhitia tēnei: Principles of communication systems simulation with wireless applications