- Added code to clone distribution with new seed

- Worked on some code analysis warnings