[F] implemented normally distributed random numbers, chi square distributed random numbers and showing dialogs