fixed problem in gaussian random generation in eating state