Sonar Major warnings: Removed Assignments to Parameters, made copies for mutability reasons
Merged master into branch, resolved conflicts.
Merge pull request #54 from neomatrix369/sonarMajorWarnings_ParamAssignment

Sonar major warnings param assignment. Makes sense now. Thanks Mani :)