debugging 3 shock case
Bug in inneroptimization with 3 shocks
added old code for debugging : will delete the files later