Moments and moment generating function