Cast Location pos and size to integers

Fixes issues with numpy types being passed around to things
that don't understand them.
Merge pull request #38 from tonysimpson/location_fix

Cast Location pos and size to integers