update NLLSQ demo. Add demo of analytical derivatives