Correct Lagrange term
PEP8 compliance