AM_find_gamma_Pois function

Given that the prior on M is a shifted Poisson, find the γ\gamma hyperparameter of the weights prior to match E(K)=KE(K)=K^{*}, where KK^{*} is user-specified