support to merge multiple 1d gates that have different dimensions into one filters object RGLab/flowWorkspace#138
merge from trunk