Fixed Lagrange Mult and added rope functionality