Working on lagrange multipliers.