Changes to iq_MC and iq_MH to test convergence of the algorithms