mjcompute_criterion