Fixing bugs in inexact LCP code, has issue with retract looking out-of-bounds, could segfault because of problem with retract cleanup code too