Fixed division by zero
Merge pull request #2 from marcelometal/division_by_zero

Fixed division by zero