add wrap function to force objects to ints
pep 8 and deleting extraneous comments/prints
Merge pull request #64 from dimagi/case-95539

add wrap function to force objects to ints