Fixed calculation of global work size in order to make transformations work for 1D-3D (used an array).
Added iter-sep for Dimension, PpAllocationShape, and PpAllocationCoshape.