Moments of Clarity: Streamlining Latent Spaces in Machine Learning using Moment Pooling