fixed error in normal distr