add functions in runHydro.py to call generateAvgprofile.py when centrality bin is not default
fixed some bugs in the runHydro.py script. It seems to be working