Improved the gen_part_array(..) method. Used to copy the whole vars dict before shuffling only the one var used (sic) now only copies this var.
Merge remote-tracking branch 'origin/master'