random sampling from normal, uniform, gamma distribution