Some performance tweaks
datasize fix for op_arg_gbl
permutation by colour
Combined reduction