I haven't managed to test my code yet. Until I do, I will port my code over to Python and test it under Python. Obviously, this can have only limited help. BTW, I corrected some errors. The current state of my work is attached. Once again, I would welcome any help. Daniel.
Attachment:
nonlinear-regression.c
Description: version 0.0.1