Merge pull request #1 from audD0/master

Fixed a bug in clean_vars(..)
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'