converting geometric distribution to the exponential family