fix wrong exception message in stat::moment (fix #42)