added gamma function for t.pdf
added random number generation using pdf