Pātuhitia tēnei: Optimization algorithms on matrix manifolds