Pātuhitia tēnei: Novel Optimization Methods for Temporal and Predictive Clustering