Fix division by zero
Merge pull request #4 from porjo/porjo

Fix division by zero