1. Corrected discrete Lagrangian (multiplied L by h).