Algorithmic Inference of Two-Parameter Gamma Distribution