Pātuhitia tēnei: Functional data analysis with R and MATLAB