Include mtt_solve_lud within scope of this function - seems to avaoid
probs with p2c