Fix pass by reference error with arrays
Merge pull request #6 from jcreamer898/master

Fix a pass by reference issue