Improve output filename bug; Add a paramter to get the effect number for legend FOR <heatmapM.sh>