Functionalized stackMerge.m

Functionalized the stackMerge function and simplified the inputs.
Commented the code. Functionalized quickPlotFormat. Moved original
quickPlotFormat code to quickPlotFormat_scr.m