fixed two significant calculation errors in the Jacobian, now it converges cubically
changed all SetValues in Jacobian to ADD_VALUES
moved FirstStep to own function
first step works
added separate variable name and default argument in Output Vec and function
currently in the middle of adding list<Mode*> to Salt.c, temporary under construction but looks very promising.
added J as a member matrix of Mode
made some very minor changes, Salt working but a lot of commented out code to be introduced
changed all notation in Salt to *m
made name a member of Mode, and changed Write and Read mode accordingly
cleaned some stuff up
implemented clean upper limit Dmax
added a lot more structure for modelist. There are probably tons of bugs now, but the abstraction is at a high enough level such that debugging them will actually be quite enjoyable.
everything works for one mode. Now I don't make it exit when threshold found
fixed important typo in modeout sprintf in Salt.c, now Salt works for two modes.
added check for having all input modes at the same D