Update to the demonstration programs for NLLSQ

Added demonstrations for NLLSQ with 2
independent variables.

Also worked to make code more readible and
added comments