-Fix bad behavior of check function
-Clean hack in anaRelCorr_func.sh