I'm struggling to understand the physical relevance of 'moments' and how they relate to moment generating functions in statistics. How is a moment defined in the most general terms? Not just magnetic, but also moments of inertia, and what relation does this have to probability theory?