Make sure that all indexing uses uints
Merge pull request #45 from DaGenix/fixup

Make sure that all indexing uses uints