Master
First commit adds up missing definitions for a FORTRAN app to work.
Second commit optimizes the lmm_solve function (i.e., the network simulation kernel) not to use mallocs for short-lived arrays. Instead the array is instantiated as a member of the Model, and is reallocated dynamically when needed.