FIX: Used integer division when assigning to quanities, for Py3
Merge pull request #18 from warrd/master

FIX: Used integer division when assigning to quanities, for Py3