more python 3 division issues
Merge pull request #373 from tiagoantao/master

more python 3 division issues