tm_g_distribution function

teal module: Distribution analysis