A Glitch and the Matrix: Advances in Gravitational-Wave Glitch Mitigation and Acceleration of Pulsar Timing Analyses