Added configuration for sd simulation
Fixed IMPORTANT bug for simulations

Added fclose in readConfigFile that was provoking simulations
to hang on ~831 iterations