implementation of Gumbel, Laplace, Logistic and Nakagami distribution