Merge pull request #30 from JonKoenes/master

Fixed so for loops only do control math ONCE
Added pass by reference, val/var checkingn not enabled