fixed lanf_eq_mc.py, so it works for the SLR test