Text this: The Proper Orthogonal Decomposition for Dimensionality Reduction in Mode-Locked Lasers and Optical Systems