Correcting segfaults
Corrcting invalid free->malloc by using realloc
Correcting moldatfile free->malloc
typo
Add FreeInput function
Freeing  moldatfile
Removing useless warning
Freeing rng
Free stat internal structure
Freeing img
Missing
Adding a freeGrid method
Adding a freePopulation method
Freeing population and grid before any allocation
Restoring empty warning
Freeing molData
closing files
removing "stupid"  useless code
improving grid alloc free
Adding a MAX_NSPECIES instead of hardcoded 100
Fixing litle memory error with popsin
Checking nspecies read from restart binary file
Correcting fix of uninitialized abundance in grid
Correcting uninitialzed value of abun with pregrid
Correcting memory leak with rng
partial Checking grid input
trailing whitespaces + indent