Fixed array bug
Merge pull request #1 from r-tanner-f/fixing-bugs

Fixed array bug