find an estimator for theta from gamma distribution using method od moment