bakers_gamma_for_2_k_matrix function

Bakers Gamma for two k matrices