Moved moment calculation to 'Sample', see description of 'Sample.moments' for details